<!--A Design by W3layouts
Author: W3layout
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
	<tc_include file="Public:head" />
	<tc_include file="Public:scripts" />

<!---- start-smoth-scrolling---->
<script type="text/javascript" src="js/move-top.js"></script>
<script type="text/javascript" src="js/easing.js"></script>

</head>
<body>
<!--start-banner-->
	<div class="banner banner1" id="home">
		<tc_include file="Public:nav" />
			<div class="banner-main">
				<div class="container">	
					<div class="banner-top bnr-top">
						<h1>企业新闻</h1>
					</div>
				</div>
			</div>
		</div>	
	<!-- script-for-menu -->
		 <!-- script-for-menu -->	
	<!--end-banner-->
	<!--start-carrer-->
	<div class="carrer">
		<div class="container">
			<!--<div class="carrer-top">-->
				<!--<h3>open positions in planeto</h3>-->
			<!--</div>-->
			<div class="tabs-box">
				<?php
				$result=M('center')
				 ->alias("a")
				 ->field('a.*,b.name')
				 ->join("__CENTER_CAT__ b ON a.c_id = b.id")
				 ->select();
				$cat=M('center_cat')->select();
				?>
			<ul class="tabs-menu">
				<foreach name="cat" item="vo">
				<li><a href="#tab{$vo['id']}"><span> </span>{$vo.name}</a></li>
				</foreach>
				<!--<li><a href="#tab2"><span> </span>Project manager</a></li>-->
				<!--<li><a href="#tab3"><span> </span>Front-end developer</a></li>-->
			</ul>
			<div class="clearfix"> </div>
			<div class="tab-grids">
				<div id="tab1" class="tab-grid">
					<foreach name="result" item="vo">
						<if condition="$vo['c_id'] == 1">
					<div class="tb-one">
						<h3>{$vo.title}</h3>
						{$vo.content}
					</div>
						</if>
					</foreach>
				</div>
				<div id="tab2" class="tab-grid">
					<foreach name="result" item="vo">
						<if condition="$vo['c_id'] == 2">
							<div class="tb-one">
								<h3>{$vo.title}</h3>
								{$vo.content}
							</div>
						</if>
					</foreach>
				</div>
				<div id="tab3" class="tab-grid">
					<foreach name="result" item="vo">
						<if condition="$vo['c_id'] == 1">
							<div class="tb-one">
								<h3>{$vo.title}</h3>
								{$vo.content}
							</div>
						</if>
					</foreach>
				</div>
			</div>
		</div>
		</div>
	</div>
	<!--start-carrer-->
	<!----- Comman-js-files ----->
		<script>
			$(document).ready(function() {
				$("#tab2").hide();
				$("#tab3").hide();
				$(".tabs-menu a").click(function(event){
					event.preventDefault();
					var tab=$(this).attr("href");
					$(".tab-grid").not(tab).css("display","none");
					$(tab).fadeIn("slow");
				});
			});
		</script>
		<!----- Comman-js-files ----->
	<!--start-footer-->
<tc_include file="Public:footer" />
	<!--end-footer-->
</body>
</html>